package com.caht.mapper;

import com.caht.VO.CommentReplyCommentsVO;
import com.caht.VO.ReplyCommentsVO;
import com.caht.entity.comment;
import com.caht.entity.replyComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface commentMapper {

 List<CommentReplyCommentsVO> CommentAll(Long postsId);

 List<ReplyCommentsVO> queryAllReplyComment(int id);

 void addreplyComment(replyComment replyComment);

 void addComment(comment comment);
}
